import request from '@/utils/request';
// 查询列表
export function materStatus(query) {
  return request({
    url: '/stock/stock/materInoutStatistic',
    method: 'get',
    params: query,
  });
}
export function monthList(query) {
  return request({
    url: '/stock/month/list ',
    method: 'post',
    data: query,
  });
}
export function laberYearStatistic(query) {
  return request({
    url: '/stock/stock/laberYearStatistic',
    method: 'get',
    params: query,
  });
}

export function getIndexPlanData(query) {
  return request({
    url: '/plan/plan/getIndexPlanData',
    method: 'post',
    data: query,
  });
}

export function getIndexData(query) {
  return request({
    url: '/stock/stock/getIndexData',
    method: 'get',
    params: query,
  });
}

// 获取实时时间
export function getRealDate() {
  return request({
    url: '/businessbase/import/getTimestamp',
    method: 'get',
  });
}
